//
//  HLTNetWorkingtool.h
//  huiliantong
//
//  Created by hlt on 15/8/13.
//  Copyright (c) 2015年 hlt. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HLTNetWorkingtool : NSObject


//通过url获取到数组的方法
+(void) gethomearydata:(NSString *) url success:(void (^)(NSArray *ary))success faliure:(void(^)(NSString *error))faliure ;


//获取周边商铺列表信息
+(void) getzhoubianlist:(NSString *)url success:(void (^)(NSMutableArray *ary))success faliure:(void(^)(NSString *error))faliure;



////通过url获取到字典的方法
//+(void *) gethomedicdata:(NSString *) url success:(void (^)(NSDictionary *dic))success faliure:(void(^)(NSString *error))faliure ;


//获取数组的通用方法
+(void) getary:(NSString *)url success:(void (^)(NSArray *ary))success faliure:(void(^)(NSString *error))faliure;



//获取字典的通用方法
+(void) getdic:(NSString *)url success:(void (^)(NSDictionary *ary))success faliure:(void(^)(NSString *error))faliure;






////获取首页的分类按钮图片
//-(NSArray *) gethomemenu;
//
////获取优惠商铺列表信息


+(void) getyouhuilist:(NSString *)url success:(void (^)(NSMutableArray *ary))success faliure:(void(^)(NSString *error))faliure;



@end
